import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Burbujas here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Burbujas extends Bonus
{
    /**
     * Act - do whatever the Burbujas wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
   // private int num;
    public void act() 
    {
        // Add your action code here.
        num++;
        if(num==200){getWorld().removeObject(this);}
    }    
    public Burbujas(){
    num=0;
   this.getImage().scale(15,15);
    }
}
